<%@ page import="com.mongodb.BasicDBObject"%>
<%@ page import="com.mongodb.DBObject"%>
<%@ page import="com.mongodb.DBCursor"%>
<%@ page import="com.mongodb.DBCollection"%>
<%@ page import="devboard.dbutil.MongoUtil" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Issuese</title>
<link rel="stylesheet" href="css/Main.css" type="text/css">
<link rel="stylesheet" href="css/Board.css" type="text/css">
<script type="text/javascript" src="js/Board.js"></script>
</head>
<body>
<%@ include file="Main.jsp" %>
	<div id="issue" class="st">
		<table>
			<tr>
				<td>Project ID</td>
				<td>Project Name</td>
				<td>Issue description</td>
				<td>Resolved</td>
			</tr>
			<%
			DBCollection issues=MongoUtil.getCollection("Issues");
			DBCursor cursor=issues.find();
			while(cursor.hasNext()){
				DBObject issue=cursor.next();
				%>
				<tr>
					<td><%=issue.get("projectId")%></td>
					<td><%=issue.get("projectName")%></td>
					<td><%=issue.get("description")%></td>
					<td><input type="checkbox"></td>
				</tr>
			<%}
			%>
		</table>
	</div>
</body>
</html>